package com.ruoyi.bussiness.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 培训证书对象 tra_certificate
 * 
 * @author ruoyi
 * @date 2023-11-12
 */
public class TraCertificate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 从业人员ID */
    @Excel(name = "从业人员ID")
    private String employeeId;

    /** 培训通过日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "培训通过日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date passDate;

    /** 下证日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下证日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date signDate;

    /** 下证机关 */
    @Excel(name = "下证机关")
    private String signInstitution;

    /** 图片 */
    @Excel(name = "图片")
    private String picture;

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    /** 状态 */
    @Excel(name = "状态")
    private Long state;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEmployeeId(String employeeId) 
    {
        this.employeeId = employeeId;
    }

    public String getEmployeeId() 
    {
        return employeeId;
    }
    public void setPassDate(Date passDate) 
    {
        this.passDate = passDate;
    }

    public Date getPassDate() 
    {
        return passDate;
    }
    public void setSignDate(Date signDate) 
    {
        this.signDate = signDate;
    }

    public Date getSignDate() 
    {
        return signDate;
    }
    public void setSignInstitution(String signInstitution) 
    {
        this.signInstitution = signInstitution;
    }

    public String getSignInstitution() 
    {
        return signInstitution;
    }
    public void setPicture(String picture) 
    {
        this.picture = picture;
    }

    public String getPicture() 
    {
        return picture;
    }
    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("employeeId", getEmployeeId())
            .append("passDate", getPassDate())
            .append("signDate", getSignDate())
            .append("signInstitution", getSignInstitution())
            .append("picture", getPicture())
            .append("memo", getMemo())
            .append("state", getState())
            .toString();
    }
}
